package pers.mobian.aop;

import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.BeforeAdvice;
import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Date 2021/10/8 21:04
 * @Created mobian
 * @Description
 */
public class MoBeforeAdvice implements MethodBeforeAdvice {
	public void before(Method m, Object[] args, Object target) throws Throwable {
		System.out.println("这是代理前的逻辑");
	}
}
